Player = Core.class()


function Player:init()
	self.score=0
	self.health=100
	self.weapon=Shotgun.new() --shotgun ilerde weapon classı yapılacak
end

function Player:fire()
	self.weapon.fire()
 end

function Player:hitScore(point)
	self.score=self.score+point
	print("your successed score is:"..self.score)
end

function Player:loseScore()
	self.score=self.score-5
	print("your failed score is:"..self.score)
end